package com.yunxin.core.application.dto.order;

import com.yunxin.core.domain.model.order.OrderUserApply;
import com.yunxin.core.domain.model.order.OrderUserApplyAllocation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-06-08
 */
@Data
@Schema(description = "分配订单响应对象")
public class AllocationUserApplyOrderDTO implements Serializable {

    /**
     * 产品id
     */
    @Schema(description = "产品id")
    private Long productId;
    /**
     * 分配订单id
     */
    @Schema(description = "分配订单id")
    private Long allocationOrderId;
    /**
     * api跳转链接
     */
    @Schema(description = "api跳转链接")
    private String apiUrl;

    /**
     * 是否兜底  1:是  2:否
     */
    private Integer isBottom;


    private OrderUserApply userApply;

    private OrderUserApplyAllocation orderUserApplyAllocation;

    private String redisCashField;

    /**
     * 是否是企业微信  1:是  2:否
     */
    private Integer isAbutmentType;


    private String clientIp;

    private Integer sex;
    private String zhzxUrl;

    /**
     * 产品总限量
     */
    private Integer totalLimit;

    /**
     * 手机号
     */
    private String userPhone;


    /**
     * 协议地址
     */
    private String protocol;

    /**
     * 机构授权协议地址
     */
    private String planAuthProtocol;




}
